//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================

#define MAX_POSTERN_CELL    50
#define FUNC_ROW_HEIGHT     64
#define MENU_CHOICE_LENTH   10
#define cblack              0x00000000
#define cwhite              0x0003ffff
#define CHAR_ROW_HEIGHT     10

#define MENU0 0x1
#define MENU1 0x3
#define FUNC  0x0

/* Defined for Postern*/
//ECode __cdecl GFunctest(void* argv)
typedef  ECode (*GFuncCell)(void* argv);
typedef struct _GPstMenuItem {
    GFuncCell PosternCell;
    char* szName;
    char* szDescriptor;
}GPstMenuItem;

typedef struct position {
    UInt32 x;
    UInt32 y;
} Position;

EXTERN_C void GDrawFrame();
EXTERN_C void GInitMenuInfo(GPstMenuItem *GPstMenuItem, UInt32 iMenuItemSum);
EXTERN_C void __cdecl GDrawMenuItem();
EXTERN_C void DrawRect(Position *pTLPoint, Position *pRBPoint, UInt32 cColor);

EXTERN_C void GPrintf(char *psz);
EXTERN_C void GInitPrintLimit();

